g++ -g database.cpp dbm.cpp db.c threadpool.cpp threadpoolimpl.cpp  dbmserver.cpp  requestandreply.cpp connect.cpp client.cpp recordlock.c -o route -std=c++11 -L/usr/local/lib -levent -Wl,-rpath=/usr/local/lib
